package com.design.patterns.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author yuexizhao9159@gmail.com
 * @version V2.2
 * @since 2.2.0 2021/3/1 0001 20:13
 */
@Controller
public class IndexConller {
    @RequestMapping("/index")
    @ResponseBody
    public String index() {
        return "helloword!";
    }
}
